//
//  BeautyPictureCell.m
//  NewNest
//
//  Created by hesiyao on 16/1/18.
//  Copyright © 2016年 www.lanou3g.com蓝鸥科技. All rights reserved.
//

#import "BeautyPictureCell.h"

@implementation BeautyPictureCell

- (void)dealloc
{
    [_imgview release];
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.imgview = [[UIImageView alloc] init];
        [self.contentView addSubview:_imgview];
        [_imgview release];
    }
    return self;
}

- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes
{
    [super applyLayoutAttributes:layoutAttributes];
    self.imgview.frame = self.contentView.bounds;
}

@end
